package com.app.service;

import com.app.model.SubsidyApplicationModel;
import com.app.model.UserModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.Date;

@Service
public interface SubsidyApplicationService extends IService<SubsidyApplicationModel> {

    Result subsidyApplicationList(Integer page, Integer limit, UserModel user);


    Result adminList(Integer page, Integer limit, Integer applicationState, String time, String endTime);


    Result updateListDateStatus(Integer subsidyApplicationId, Integer id, String operator, Date processingTime);


    Result getBySubsidyApplicationId(Integer subsidyApplicationId);


    Result statusPOrE(Integer type, Integer pOrEId, String reason, Integer id, Integer subsidyApplicationId);


    Result SubsidyApplicationDetailStatus(Integer subsidyApplicationDetailId, Integer type, String reason, Integer id);
}
